import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HelloWorldComponent } from './components/helloworld/helloworld.component';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
    {
      path: 'helloworld',
      component: HelloWorldComponent,
    },
  ];

@NgModule({
  declarations: [],
  imports: [
    CommonModule, RouterModule.forRoot(routes)
  ],
  exports:[RouterModule]
})
export class RoutingModule { }